<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>dingshiqitest</title>
<script src="/center/abc_files/jquery.min_1.5.js" type="text/javascript"></script>

<script type="text/javascript">
	var time = 1000;
	var interval; //调度器对象。

	$(function() {

		$("#button").click(function() {
			run();
		});
	});
	function run() {
		interval = setInterval("fun()", time);
	}
	function fun() {
		alert("间隔执行的方法");
	}
	run();
</script>

</head>
<body>
	<div id="appenddiv">fdsafdsa</div>
	<button id="button"></button>
</body>
</html>






